package com.api.demo.dto.business.order;

import com.api.demo.dto.business.ApiDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * @description: 查询创客订单详情
 * @author: yanming
 * @createDate: 2022/12/28 17:29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class WorkerOrderInfoDTO extends ApiDTO {

    private static final long serialVersionUID = -491460388044667254L;

    @ApiModelProperty(value = "社会信用代码", required = true)
    @NotBlank(message = "社会信用代码不能为空")
    private String creditCode;

    @ApiModelProperty(value = "服务商ID")
    private Long taxId;

    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    @ApiModelProperty(value = "身份证号码")
    private String idCardCode;

    @ApiModelProperty(value = "姓名")
    private String name;

//    @ApiModelProperty(value = "状态")
//    private String payStatus;
//
//    @ApiModelProperty(value = "页码", required = true)
//    @NotNull(message = "页码不能为空")
//    @Min(value = 1, message = "页码不能小于1")
//    private Integer pageNo;
//
//    @ApiModelProperty(value = "页面大小", required = true)
//    @NotNull(message = "页面大小不能为空")
//    @Max(value = 100, message = "页面大小不能大于100")
//    @Min(value = 1, message = "页面大小不能小于1")
//    private Integer pageSize;

    @ApiModelProperty(value = "开始时间")
    private String startDate;

    @ApiModelProperty(value = "结束时间")
    private String endDate;

    @ApiModelProperty(value = "排序")
    private String sort;
}